package com.web.service;

import com.web.dao.InterestMapper;
import com.web.entity.Interest;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class InterestService {

    @Resource
    private InterestMapper interestMapper;

    /**
     * 获取所有兴趣列表
     * @return
     */
    public List<Interest> getInterestList() {
        return interestMapper.getInterestList();
    }
}
